package io;

import java.io.*;

public class CopyDemo2 {
    public static void main(String[] args) throws IOException {
       /* FileInputStream tell =new FileInputStream("da.jpg");
        FileOutputStream del=new FileOutputStream("kaka.jpg");
        long start=System.currentTimeMillis();
        byte[] data=new byte[1024*10];
        int a;
        while((a=tell.read())!=-1){
            del.write(a);
        }
        long end=System.currentTimeMillis();
        System.out.println("复制完毕"+(end-start)+"ms");
        tell.close();
        del.close();*/
        FileOutputStream fos=new FileOutputStream("kk.jpg");
        FileInputStream fis=new FileInputStream("da.jpg");
        long astart=System.currentTimeMillis();
        byte [] data=new byte[1024*10];
        int len;





    }
}
